({
  appDir: "./",
  baseUrl: "./",
  dir: "../app-build",

  optimizeCss: "standard",
  //optimize: "none",
  // inlining ftw
  inlineText: true,

  // kills the entire plugin set once it's built.
  pragmasOnSave: {
    excludeAfterBuild: true
  },

  paths: {
    jquery: "require-jquery",
    underscore: "libs/underscore",
    backbone: "libs/backbone",
    hbs: "libs/hbs",
    Handlebars: "libs/handlebars",
    bootstrap_modal:    'libs/bootstrap/bootstrap-modal',
    bootstrap_dropdown: 'libs/bootstrap/bootstrap-dropdown',
    bootstrap_tabs:     'libs/bootstrap/bootstrap-tab',
    bootstrap_transition: 'libs/bootstrap/bootstrap-transition',
    bootstrap_collapse: 'libs/bootstrap/bootstrap-collapse',
    bootstrap_tooltip: 'libs/bootstrap/bootstrap-tooltip',
    bootstrap_popover: 'libs/bootstrap/bootstrap-popover',
    bootstrap_buttons:  'libs/bootstrap/bootstrap-button',
    swfObject:          'libs/swfobject/swfobject',
    takephoto:          'libs/takephoto/takephoto'
  },

  locale: "es_es",

  modules: [
    //Optimize the require-jquery.js file by applying any minification
    //that is desired via the optimize: setting above.
    {
      name: "require-jquery"
    },
    
    //Optimize the application files. Exclude jQuery since it is
    //included already in require-jquery.js
    {
      name: "main",
      exclude: ["jquery"]
    },

    {
      name: "main_guest",
      exclude: ["jquery"]
    },

    {
      name: "main_admin",
      exclude: ["jquery"]
    },

    {
      name: "main_internal",
      exclude: ["jquery"]
    },

    {
      name: "main_familiar",
      exclude: ["jquery"]
    }
  ]
})